export function formatMoneyToYuanFilter(val){
  if(val == null || val == '') return '0.00'
  return (val / 100).toFixed(2)
}

export function formatPointFilter(val){
  if(val == null || val == '') return '0'
  return (val / 100).toFixed()
}

export function formatMoneyToYuanIntFilter(val){
  if(val == null || val == '') return '0'
  return (val / 100).toFixed(0)
}

export function formatDiscountFilter(val){
  if(val == null || val == '') return '0'
  return (val / 100).toString()
}